package com.wondersgroup.retrofittest.mall.contract;

import com.hss.mvp.BaseMVPPresenter;
import com.hss.mvp.BaseMVPView;

import java.util.List;

import rx.Observable;

/**
 * Created by Administrator on 2017/2/10.
 */

public interface MallContract {
public interface View extends BaseMVPView<MallContract.Presenter>{
    void refresh();
    void loadMore();
    void refreshComplete();
    void loadMoreComplete();
    void loadMoreEnable(boolean enable);
    <T> void  refreshData(boolean isRefresh, List<T> list);

}

public interface Presenter extends BaseMVPPresenter<View>{
    void loadGoods(int isDrop,int page, int pageCount);
}

public interface Model{

    <T> T loadGoods( int page, int pageCount);

}


}